package jp.heartdokyun.listener;

import jp.heartdokyun.activity.MainActivity;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

public class TopBackListener implements OnClickListener{
	private Activity  mActivity;

	public TopBackListener(Activity activity){
		this.mActivity = activity;
	}
	
	@Override
	public void onClick(View v) {
		Intent top = new Intent(this.mActivity, MainActivity.class);
		mActivity.startActivity(top);
	}

}
